﻿using FluentMigrator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ETA.DbMigrations.V20140524
{
    [Migration(2014061811)]
    public class _06_FlowStepInit : AutoReversingMigration
    {
        public override void Up()
         {
               var now = DateTime.Now;
               Insert.IntoTable("FlowStep")
          //此处无需添加 app 和网站 最终做的事情是一样的 只是叫法不同而已 后期 app返回数据时名称做下处理即可
          //还需要保留 2014-06-14 23:42:20 
           .Row(new { FlowStepId = "1ffa2d64-70d0-4fde-b70b-a9208ad4b684", FlowStepName = "报名意向表", FlowIndex = 0, CreateDate = now, ModifyDate = now, IsDelete = 0 })
           .Row(new { StepLink = "/Trainee/FillRegistrationForm", FlowStepId = "9d95dcb0-8f10-4aa7-9dc8-148d57d83c69", FlowStepName = "赴日技能实习生登记表", FlowStepNameAapp = "报名意向表", FlowIndex = 1, CreateDate = now, ModifyDate = now, IsDelete = 0 })
           .Row(new { StepLink = "/Trainee/OnlineTest", FlowStepId = "c7bd428f-d209-4ce0-a576-0290488092bb", FlowStepName = "网上评定", FlowStepNameAapp = "网上评定", FlowIndex = 2, CreateDate = now, ModifyDate = now, IsDelete = 0 })
           .Row(new { StepLink = "/Trainee/CommitmentSign", FlowStepId = "e6df893e-1cdb-4056-8322-ba2e9b6421d2", FlowStepName = "签订参加直通车面试承诺书", FlowStepNameAapp = "签订参加直通车面试承诺书", FlowIndex = 3, CreateDate = now, ModifyDate = now, IsDelete = 0 })
           .Row(new { StepLink = "/Trainee/PayDeposit", FlowStepId = "97086e49-7e84-4e1e-a89a-c9d55c0ec009", FlowStepName = "缴纳报名定金", FlowIndex = 4, FlowStepNameAapp = "缴纳报名定金", CreateDate = now, ModifyDate = now, IsDelete = 0 })
           .Row(new { StepLink = "/Trainee/PayGoabroadFee", FlowStepId = "897e08b5-e4ca-4f3c-99ba-719887ecdc2a", FlowStepName = "出国费用缴纳", FlowIndex = 5, FlowStepNameAapp = "出国费用缴纳", CreateDate = now, ModifyDate = now, IsDelete = 0 });
         }
    }
}
